home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _C1FADE6D54824D7DACD84B43F9597AFB < prev    next >
Encoding:
Text File  |  2004-01-06  |  1.4 KB  |  30 lines

  1. -- this script is used to create lua side only console variables
  2.  
  3. -- passing "NetSynch" as third parameter means server synchronized (cannot be changed on client and is syncroized if changed on the server)
  4.  
  5. --Game:CreateVariable("gr_PunkBuster", 1);                                                -- 0/1
  6. Game:CreateVariable("gr_ScoreLimit", 0);                                                --
  7. Game:CreateVariable("gr_TimeLimit", 30, "NetSynch");                        -- in minutes
  8. Game:CreateVariable("gr_DamageScale", 1);                                                --
  9. Game:CreateVariable("gr_HeadshotMultiplier", 2);                                --
  10.  
  11. Game:CreateVariable("gr_NextMap", "");                                                    -- e.g. "mp_airstrip"
  12.  
  13. Game:CreateVariable("gr_RespawnTime", 15, "NetSynch");                    -- in seconds, 0 to deactivate the respawning in waves
  14. Game:CreateVariable("gr_PrewarOn", 0, "NetSynch");                            -- 0/1=prewar gamestate on
  15. Game:CreateVariable("gr_CountDown", 5);                                                    -- countdown for round start
  16.  
  17. Game:CreateVariable("gr_DropFadeTime", 10, "NetSynch");                    -- time it takes for pickups to fade away
  18.  
  19. Game:CreateVariable("gr_RespawnAtDeathPos", 1);                                    --
  20. Game:CreateVariable("gr_FriendlyFire", 0);                                            --
  21.  
  22. Game:CreateVariable("gr_DedicatedServer", 0);                                        --
  23.  
  24. Game:CreateVariable("gr_MinTeamLimit", "0", "NetSynch");                --
  25. Game:CreateVariable("gr_MaxTeamLimit", "16", "NetSynch");                --
  26.  
  27. Game:CreateVariable("gr_InvulnerabilityTimer", 0, "NetSynch");    --
  28.  
  29. --Game:CreateVariable("g_LeftHanded", "0");                                                --
  30.